@keyframes modal-center-enter {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
  }
}
.box {
  margin-top: 20%;
}
.img {
  margin-top: 20%;
  width: 230px;
  height: 230px;
}
.tip {
  margin-top: -60px;
  font-size: 14px;
  font-family: PingFang SC, PingFang SC-Regular;
  font-weight: 400;
  text-align: center;
  color: #666666;
  line-height: 25px;
  letter-spacing: -0.34px;
}
.x-modal {
  width: 100vw;
  height: 100vh;
  background-color: rgba($color: #fff, $alpha: 1);
  display: flex;
  justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100000;
  .x-modal-body {
    // box-shadow: 0px 0px 0px 1px #eeeeee;
    width: 640rpx;
    padding-top: 64rpx;
    background-color: #fff;
    border-radius: 16rpx;
    box-sizing: border-box;
    display: table-cell;
    vertical-align: middle;
    &.modal-center-enter {
      animation: modal-center-enter 0.2s ease-out forwards;
    }
    .x-modal-body-title {
      font-size: 34rpx;
      font-weight: 900;
      color: #000;
      text-align: center;
      margin-bottom: 32rpx;
      padding: 0 48rpx;
      box-sizing: border-box;
    }
    .x-modal-body-content {
      font-size: 34rpx;
      line-height: 48rpx;
      color: #666;
      word-break: break-all;
      word-wrap: break-word;
      white-space: pre-wrap;
      margin-bottom: 32rpx;
      padding: 0 48rpx;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: center;
      > .contentText {
        text-align: justify;
      }
    }
    .x-modal-body-button {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 30rpx 20rpx;
      .x-modal-body-button-item {
        flex: 2;
        height: 70rpx;
        width: calc(100vw - 210rpx);
        background: #c9c9c9;
        border-radius: 10rpx;
        margin: 0 15rpx;
        font-size: 28rpx;
        font-family: PingFang SC, PingFang SC-Regular;
        font-weight: 400;
        text-align: center;
        color: #ffffff;
        line-height: 70rpx;
      }
      .confirm,
      .confirm2 {
        background: $xThemeColor;
      }
      /* .confirm2 {
        border: 2rpx solid $xThemeColor;
        background-color: transparent;
      } */
      .cancel {
        background: $xThemeColor;
      }
    }
  }
}
.slotWrap {
  width: 100%;
}
